package com.crx.springbootinit.model.dto.collect;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 谢杭延
 * @Date 2024-10-22 19:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "收藏功能DTO")
public class CollectGiveDTO {
    @ApiModelProperty(value = "贴子id")
    private Long postId;

    @ApiModelProperty(value = "贴子标题")
    private String title;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ApiModelProperty(value = "收藏状态")
    private Boolean isCollect;

}
